﻿<%@ Page Title="" Language="C#" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="true" CodeBehind="ProgressReservation.aspx.cs" Inherits="blackhouse.Aparts.Web.Pages.ProgressReservation" %>
<%@ Register Src="~/Modules/CurrencyLiteral.ascx" TagName="CurrencyLiteral" TagPrefix="blackhouse" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="mainContent" runat="server">
    <div class="apartment-content">
        <div class="page-content">
        <asp:HiddenField runat="server" ID="hidVariantId" ClientIDMode="Static" />
    <asp:HiddenField runat="server" ID="hidReservationId" ClientIDMode="Static" />
            <div class="app-title">
                <%=GetGlobalResourceObject("Aparts","progressResTitle") %>
            </div>
            <div class="p-v1 r16to12">
                <div class="p-info">
                    <span class="red r12to14 b">
                        <%=GetGlobalResourceObject("Aparts", "progressResThx")%></span>
                    <br />
                    <br />
                    <%=GetGlobalResourceObject("Aparts", "progressRes2")%>
                </div>
                <asp:Panel runat="server" ID="pnlProgressReservation" Visible="true">

                <table cellpadding="0" cellspacing="0" class="pt-info">
                    <tr>
                        <td class="pt-info-cell1">
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "arrivalDate").ToFirstUpperString()%>:</b><br />
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "departureDate").ToFirstUpperString()%>:</b><br />
                            <br />
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "total").ToFirstUpperString()%>:</b>
                        </td>
                        <td class="pt-info-cell2">
                            <asp:Literal runat="server" ID="lblArrivalDate" /><br />
                            <asp:Literal runat="server" ID="lblDepartureDate" /><br />
                            <br />
                            <asp:Literal runat="server" ID="lblLenfgthOfStay" />
                        </td>
                        <td class="pt-info-cell3">
                            <%=GetGlobalResourceObject("Aparts", "progressRes3").ToFirstUpperString()%>
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0" class="pt-info">
                    <tr>
                        <td class="pt-info-cell1">
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "numberOfPeople").ToFirstUpperString()%>:</b><br />
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "apartment").ToFirstUpperString()%>:</b><br />
                        </td>
                        <td class="pt-info-cell2">
                            <asp:Literal runat="server" ID="lblNumberOfPeople" /><br />
                            <asp:Repeater runat="server" ID="rptReservationApartments">
                                <ItemTemplate>
                                    <%#Container.DataItem %><br />
                                </ItemTemplate>
                            </asp:Repeater>
                        </td>
                        <td class="pt-info-cell3">
                            <asp:Literal runat="server" ID="lblApartmentInfo" Visible="false">
                            
                            </asp:Literal>
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0" class="pt-info">
                    <tr>
                        <td class="pt-info-cell1">
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "progressRes5").ToFirstUpperString()%>:</b><br />
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "progressRes6").ToFirstUpperString()%>:</b><br />
                        </td>
                        <td class="pt-info-cell2">
                                            <blackhouse:CurrencyLiteral runat="server" ID="cPriceOne" Precision="2" />
                            <br />
                            <b>
                                            <blackhouse:CurrencyLiteral runat="server" ID="cPriceTotal" Precision="2" />
                                </b><asp:Literal runat="server"
                                    ID="lblRabatInformation" /><br />
                        </td>
                        <td class="pt-info-cell3">
                        </td>
                    </tr>
                </table>
                <table cellpadding="0" cellspacing="0" class="pt-info pt-info-f">
                    <tr>
                        <td colspan="3">
                            <b>
                                <%=GetGlobalResourceObject("Aparts", "progressRes8")%>:</b>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" class="red b r12to14">
                            <%=GetGlobalResourceObject("Aparts", "progressRes9")%><br />
                        </td>
                    </tr>
                    <tr>
                        <td class="pt-info-cell1">
                            <%=GetGlobalResourceObject("Aparts", "personName").ToFirstUpperString()%>:<br />
                            <%=GetGlobalResourceObject("Aparts", "phone").ToFirstUpperString()%>:<br />
                            E-mail:
                        </td>
                        <td class="pt-info-cell2">
                            <input type="text" name="personName" id="personName" class="validate[required]" /><br />
                            <input type="text" name="personPhone" id="personPhone" class="validate[required,custom[phone],minSize[9]]" /><br />
                            <input type="text" name="personEmail" id="personEmail" class="validate[required,custom[email]]" />
                        </td>
                        <td class="pt-info-cell3">
                        </td>
                    </tr>
                    <tr>
                        <td colspan="3" class="red b r12to14">
                            <br />
                         <%=GetGlobalResourceObject("Aparts", "additionalInfo").ToFirstUpperString()%>   <br />
                        </td>
                    </tr>
                    <tr>
                        <td class="pt-info-cell1">
                          <%=GetGlobalResourceObject("Aparts", "arrivalTime").ToFirstUpperString()%>:<br />
                        <%=GetGlobalResourceObject("Aparts", "invoice").ToFirstUpperString()%>:<br />
                         <%=GetGlobalResourceObject("Aparts", "paymentForm").ToFirstUpperString()%>:
                        </td>
                        <td class="pt-info-cell2">
                            <asp:DropDownList runat="server" ID="ddlPersonHour" ClientIDMode="Static">
                            </asp:DropDownList>
                            <br />
                            <input type="checkbox" name="fv" id="fv" class="pt-info-input-checkbox" /><label
                                for="fv"><%=GetGlobalResourceObject("Aparts", "reqInvoice").ToFirstUpperString()%></label><br />
                            <span style="line-height: normal">
                                <input type="radio" name="payment" id="payment1" value="32" class="pt-info-input-checkbox validate[required]" /><label
                                    for="payment1"><%=GetGlobalResourceObject("Aparts", "cashPay").ToFirstUpperString()%></label><br />
                                <input type="radio" name="payment" id="payment2" value="33" class="pt-info-input-checkbox validate[required]" /><label
                                    for="payment2"><%=GetGlobalResourceObject("Aparts", "prepayment").ToFirstUpperString()%></label></span>
                        </td>
                        <td class="pt-info-cell3">
                        </td>
                    </tr>
                </table>
                <div class="gg-b2 fr m-r270 pres">
                 <%=GetGlobalResourceObject("Aparts", "makeReservation")%>   </div>
                <div class="fr side-bb">
                    <input type="checkbox" name="regulations" id="regulations" class="pt-info-input-checkbox validate[required]" /><label
                        for="regulations"><%=GetGlobalResourceObject("Aparts", "acceptTerm")%></label></div>
                <div class="clear">
                </div>
                <div class="pt-info pt-info-f t-c beforeSend b" style="display: none">
                    <center>
                        <%=GetGlobalResourceObject("Aparts", "sending")%></center>
                </div>
                <div class="pt-info pt-info-f t-c afterAdd" style="display: none; padding-left: 80px">
                
                <%=GetGlobalResourceObject("Aparts", "progressRes10")%>
                    
                </div>

                </asp:Panel>
                <asp:Panel runat="server" ID="pnlProblemWithData" Visible="false">
                Przepraszamy, ale dane opisujące rezerwację są już nieaktualne, prosimy zapoznać się z listą apartamentów na stronie <asp:HyperLink runat="server" ID="lnkToApartments">apartamenty w Łodzi</asp:HyperLink>
                </asp:Panel>
            </div>

        </div>
    </div>
    <!-- Google Code for rezerwacja Aparts 2 Conversion Page -->
    <script type="text/javascript">
/* <![CDATA[ */
var google_conversion_id = 1024079372;
var google_conversion_language = "en";
var google_conversion_format = "2";
var google_conversion_color = "ffffff";
var google_conversion_label = "JEo8CLz3sAIQjOyo6AM";
var google_conversion_value = 0;
/* ]]> */
    </script>
    <script type="text/javascript" src="http://www.googleadservices.com/pagead/conversion.js">
    </script>
    <noscript>
        <div style="display: inline;">
            <img height="1" width="1" style="border-style: none;" alt="" src="http://www.googleadservices.com/pagead/conversion/1024079372/?label=JEo8CLz3sAIQjOyo6AM&amp;guid=ON&amp;script=0" />
        </div>
    </noscript>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="rightContent" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="pageEditContent" runat="server">
</asp:Content>
